home *** CD-ROM | disk | FTP | other *** search
/ AGA Toolkit '97 / The AGA Toolkit '97.iso / miscellaneous / science / maths / calc / source / version.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-07  |  565 b   |  26 lines

  1. /*
  2.  * Copyright (c) 1994 David I. Bell
  3.  * Permission is granted to use, distribute, or modify this source,
  4.  * provided that this copyright notice remains intact.
  5.  *
  6.  * version - determine the version of calc
  7.  */
  8.  
  9. #include "calc.h"
  10.  
  11. #define MAJOR_VER    2    /* major version */
  12. #define MINOR_VER    9    /* minor version */
  13. #define PATCH_LEVEL    3    /* patch level */
  14.  
  15.  
  16. void
  17. version(stream)
  18.     FILE *stream;    /* stream to write version on */
  19. {
  20.     fprintf(stream,
  21.         "C-style arbitrary precision calculator (version %d.%d.%dt8)\n",
  22.         MAJOR_VER, MINOR_VER, PATCH_LEVEL);
  23. }
  24.  
  25. /* END CODE */
  26.